package com.JZ.QM.feign;

import com.JZ.QM.common.utils.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author: cyc
 * @email cyc@gmail.com
 * @date: 2020/7/11 22:06
 */
@FeignClient("account-service")
public interface AccountFeignService {
    //根据用户id获取账号信息
    @RequestMapping("/userAccount/getUserAccountInfo")
    CommonResult getUserAccountInfo(@RequestParam("userId") Long userId);
}
